#ifdef __IAR_SYSTEMS_ICC
#ifndef __SMLFIFO
#include <sml_fifo.h>
#endif

extern volatile SFIFOHeader ASTAX0OutFIFO, ASTAX1OutFIFO, ASTAX2OutFIFO;
extern volatile unsigned char ASTAX0Flags, ASTAX1Flags, ASTAX2Flags;

extern void ASTAX0Init(unsigned short UBR, unsigned char UMCTL);
extern void ASTAX0Xmit(void);
extern int  ASTAX0XmitChr(unsigned char ch);
extern int  ASTAX0XmitStr(char *str);
extern int  ASTAX0XmitBlk(unsigned char *buf, unsigned short sz);
extern void ASTAX0Suspend(void);
extern void ASTAX0Resume(void);

extern void ASTAX1Init(unsigned short UBR, unsigned char UMCTL);
extern void ASTAX1Xmit(void);
extern int  ASTAX1XmitChr(unsigned char ch);
extern int  ASTAX1XmitStr(char *str);
extern int  ASTAX1XmitBlk(unsigned char *buf, unsigned short sz);
extern void ASTAX1Suspend(void);
extern void ASTAX1Resume(void);

extern void ASTAX2Init(unsigned short UBR, unsigned char UMCTL);
extern void ASTAX2Xmit(void);
extern int  ASTAX2XmitChr(unsigned char ch);
extern int  ASTAX2XmitStr(char *str);
extern int  ASTAX2XmitBlk(unsigned char *buf, unsigned short sz);
extern void ASTAX2Suspend(void);
extern void ASTAX2Resume(void);

#else
            EXTERN  ASTAX0OutFIFO, ASTAX0Flags
            EXTERN  ASTAX0INIT, ASTAX0INT
            EXTERN  ASTAX0Xmit, ASTAX0Xmit_NBP, ASTAX0XmitChr
            EXTERN  ASTAX0XmitStr, ASTAX0XmitBlk
            EXTERN  ASTAX0Suspend, ASTAX0Resume
            
            EXTERN  ASTAX1OutFIFO, ASTAX1Flags
            EXTERN  ASTAX1INIT, ASTAX1INT
            EXTERN  ASTAX1Xmit, ASTAX0Xmit_NBP, ASTAX1XmitChr
            EXTERN  ASTAX1XmitStr, ASTAX1XmitBlk
            EXTERN  ASTAX1Suspend, ASTAX1Resume

            EXTERN  ASTAX2OutFIFO, ASTAX2Flags
            EXTERN  ASTAX2INIT, ASTAX2INT
            EXTERN  ASTAX2Xmit, ASTAX2Xmit_NBP, ASTAX2XmitChr
            EXTERN  ASTAX2XmitStr, ASTAX2XmitBlk
            EXTERN  ASTAX2Suspend, ASTAX2Resume
#endif
            
